package com.itheima.mapper;

import com.itheima.domain.UmsResourceCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 资源分类表 Mapper 接口
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface UmsResourceCategoryMapper extends BaseMapper<UmsResourceCategory> {

    // 查询后台所有资源分类
    @Select("select * from ums_resource_category;")
    List<UmsResourceCategory> getAll();
}
